From: Richard M. Stallman Date: Thu, 20 May 1993 13:43:48 +0000 (+0000) Subject: (x_find_modifier_meanings): If some keys are meta and alt, X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96137 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=148c4b70c25a2c85d5cafcef8200e5aa9c5a6fe0;p=emacs.git (x_find_modifier_meanings): If some keys are meta and alt, make them just meta, not alt. --- diff --git a/src/xterm.c b/src/xterm.c index 91622d7f27d..d558f394b3e 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -1505,6 +1505,13 @@ x_find_modifier_meanings () x_alt_mod_mask = 0; } + /* If some keys are both alt and meta, + make them just meta, not alt. */ + if (x_alt_mod_mask & x_meta_mod_mask) + { + x_alt_mod_mask &= ~x_meta_mod_mask; + } + XFree ((char *) syms); XFreeModifiermap (mods); }